<template>
    <span>
        <slot>default</slot>
        <slot :user="user" name="userName">{{user.lastName}}</slot>
    </span>
</template>
<script>
export default {
    data(){
        return {
            user:{
                lastName:'li'
            }
        }
    }
}
</script>
